Bookly\Lib\Utils\Common D

Total Complexity 133
Dependencies 16
Dependents 83
Total lines 860
Lines of code 522
Logical lines of code 211
Comment lines 214
Methods 39
Properties 1

Methods 39

Method Rating Maintainability Complexity Lines of code
postsHaveShortCode()
B
43 19 44
getCalendarSettings()
A
41 11 54
getGateways()
S
52 7 23
noCache()
S
62 6 13
getDurationSelectOptions()
S
52 5 26
hasBooklyShortCode()
S
61 6 11
getIndustries()
S
36 1 85
getServiceDataForDropDown()
S
52 5 24
getAdminEmails()
S
53 5 22
getAllStatuses()
S
52 5 22
cancelAppointmentRedirect()
S
61 5 12
syncWithCalendars()
S
67 5 7
getCurrentPageURL()
S
63 5 9
getCurrentUserTimeZone()
S
61 4 12
getFilesystem()
S
62 3 11
_xor()
S
63 3 9
isCurrentUserCustomer()
S
71 3 5
getAttachmentUrl()
S
69 3 6
updateBlogUsersMeta()
S
58 2 15
redirect()
S
56 1 23
emptyResponse()
S
69 2 7
getImageTag()
S
72 2 5
escAdminUrl()
S
67 2 7
isCurrentUserAdmin()
S
78 2 3
isCurrentUserSupervisor()
S
78 2 3
getCsrfToken()
S
70 2 6
generateToken()
S
67 2 7
getRequiredCapability()
S
79 2 3
isCurrentUserStaff()
S
73 2 4
prepareUrlReferrers()
S
64 2 10
disableEmoji()
S
68 1 7
xorDecrypt()
S
78 1 3
xorEncrypt()
S
78 1 3
stripScripts()
S
78 1 3
html()
S
81 1 3
css()
S
78 1 3
arrayMapRecursive()
S
71 1 6
getTranslatedOption()
S
78 1 3
getTranslatedString()
S
77 1 3